package Data;

import java.util.Random;

public class FinalVariables {
	
	public static int INITIAL_STATE = 0;
	public static int FINAL_STATE = 1;
	public static int NORMAL_STATE = 2;
	public static int INITIAL_FINAL = 3;
	

	
	 public static int nextInt( int lower, int higher) {
		 
		int result = -1;
		
		while(result<30){
		 Random random = new Random();
		    int ran = random.nextInt();
		    double x = (double)ran/Integer.MAX_VALUE * higher;
		    result =  (int)x + lower;
		 }
			return result;
	 }
	 
}
